package com.estun.backroundManagementService.config.properties;

import lombok.Data;
import lombok.Getter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "config.api-info")
public class ApiInfoProperties {

    /**
     * 物料同步
     */
    private ApiInfo syncMaterial = new ApiInfo();

    /**
     * 手动上料
     */
    private ApiInfo feedMaterial = new ApiInfo();

    /**
     * 过站信息推送
     */
    private ApiInfo passStation = new ApiInfo();

    /**
     * 排程状态推送
     */
    private ApiInfo alterScheduleStatus = new ApiInfo();

    /**
     * 告警推送
     */
    private ApiInfo pushWarning = new ApiInfo();

    /**
     * 设备状态
     */
    private ApiInfo pushEquipmentStatus = new ApiInfo();

    /**
     * 物料绑定
     */
    private ApiInfo materialBind = new ApiInfo();

    /**
     * 手动叫料
     */
    private ApiInfo manualMaterialCalling = new ApiInfo();

    /**
     * 生产数据上报
     */
    private ApiInfo productInformation = new ApiInfo();
    /**
     * AGV自动上料
     */
    private ApiInfo agvAutomaticFeeding = new ApiInfo();


    /**
     * 磨合台架数据上报
     */
    private ApiInfo testInformation = new ApiInfo();
    @Data
    public static class ApiInfo {
        private String url;
        private String serviceId;
    }
}
